package com.zkthink.ceres.promotion.dto;

import com.zkthink.base.entity.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * <p>
 * 实体类 分销员
 * </p>
 *
 * @author kellen
 * @since 2020-08-22
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "SalesCustomerUpdateDTO", description = "分销员")
public class SalesCustomerUpdateDTO implements Serializable {

  private static final long serialVersionUID = 1L;

  @ApiModelProperty(value = "主键")
  @NotNull(message = "id不能为空", groups = SuperEntity.Update.class)
  private Long id;

  /**
   * 分销员id
   */
  @ApiModelProperty(value = "分销员id")
  private Long sid;
  /**
   * 客户id
   */
  @ApiModelProperty(value = "客户id")
  private Long mid;


  /**
   * 操作类型
   */
  @ApiModelProperty(value = "操作类型 1绑定  2解绑 3移除")
  @NotNull
  private Integer handleType;
}
